package com.pig4cloud.pig.floor.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.floor.dto.PropertyFloorDto;
import com.pig4cloud.pig.floor.entity.PropertyFloor;
import com.pig4cloud.pig.floor.vo.PropertyFloorVo;
import com.pig4cloud.pig.propertyroom.entity.PropertyRoom;

public interface FloorService extends IService<PropertyFloor> {
    Page<PropertyFloorVo> wrapperPage(Page page, PropertyFloorDto propertyFloorDto);

	PropertyRoom[] selectRoomByFloorId(Long[] ids);

	PropertyFloor checkFloorByNumberAndName(PropertyFloor propertyFloor);

	PropertyFloorVo getFloorById(Long floorId);
}
